package com.xinqi.modules.course.clazz.dto.req;

import com.xinqi.modules.course.clazz.dto.ClassStudentAuditData;
import com.xinqi.modules.course.course.enums.ClassAuditEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 班级学生表-请求对象
 *
 * @author: system
 * @date: 2023/01/17
 */
@Data
@Schema(description = "班级学生表-新增")
public class ClassStudentCreateDTO implements Serializable {

    /**
     * 学校ID
     */
    private Long schoolId;
    /**
     * 课程id
     */
    @NotNull(message = "课程id不能为空")
    private Long courseId;
    /**
     * 班级id
     */
    @NotNull(message = "班级id不能为空")
    private Long classId;
    /**
     * 学生id(关系用户的id)
     */
    @NotNull(message = "学生id(关系用户的id)不能为空")
    private Long studentId;
    /**
     * 是否置顶课程
     */
    private Integer isTop;
    /**
     * 是否老师，0-否；1-是；
     */
    private Integer isTeacher;
    /**
     * TEACHER("TEACHER", "老师"),ASSISTANT("ASSISTANT", "助教"),REPRESENTATIVE("REPRESENTATIVE", "课代表"),STUDENT("STUDENT", "学生");
     */
    private String classRole;

    /**
     * 审核内容
     */
    private ClassStudentAuditData auditContent;

    /**
     * AUTO("AUTO", "自动免审核"),MANUAL("MANUAL", "手动审核");
     */
    private ClassAuditEnum auditMethod;
}
